package org.obp.upms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.obp.upms.model.WorkMenuDO;

import java.util.List;

/**
 * @author: Jackey 2023/4/17
 */
public interface WorkMenuService extends IService<WorkMenuDO> {

    List<WorkMenuDO> getMenusByUserId(String userId);

    List<WorkMenuDO> getMenusByRoleId(String roleId);

    boolean deleteById(String id);

}
